package com.cbd.basic.design_pattern.service.impl;

import lombok.extern.slf4j.Slf4j;

import java.util.UUID;

@Slf4j
public class BankLoanStrategy<BankLoanContractDTO> extends AbstractFinManageTemplate<BankLoanContractDTO> {
    @Override
    protected String saveContractInfo(BankLoanContractDTO obj) {
        log.info("保存银行借款合同信息");
        return UUID.randomUUID().toString();
    }

    @Override
    protected void submitApproval() {
        log.info("银行借款合同登记提交审批");
    }
}
